Skip to content

[ENQUEUE] Add missing throws tag to interfaces #1304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2023
Merged

[ENQUEUE] Add missing throws tag to interfaces #1304

merged 1 commit into from
Oct 14, 2023

Conversation

VincentLanglet
Copy link
Contributor

HI @makasim

When calling sendCommand it's useful to know the method can throws Exception, it's currently the case for the proposed implementations.
Thanks to PHPStorm or static analysis tool like PHPStan, it will help people try/catching the calls and avoid error in production.

@VincentLanglet
Copy link
Contributor Author

Friendly ping @makasim

@makasim makasim merged commit 6cd94e8 into php-enqueue:master Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants